package com.ruoyi.queue.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 排队窗口对象 que_win
 *
 * @author Zliming
 * @date 2020-03-18
 */
public class QueWin extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 窗口号 */
    @Excel(name = "窗口号")
    private String win;

    /** LED屏 */
    @Excel(name = "LED屏")
    private String led;

    /** 窗口显示信息，欢迎语 */
    @Excel(name = "窗口显示信息，欢迎语")
    private String title;

    /** 当前用户 */
    @Excel(name = "当前用户")
    private String userId;

    /** 登录的IP */
    @Excel(name = "登录的IP")
    private String loginIp;

    /** 排队号 */
    @Excel(name = "排队号")
    private String nownum;

    /** 呼叫时间 */
    @Excel(name = "呼叫时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date calltime;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }
    public void setWin(String win) {
        this.win = win;
    }

    public String getWin() {
        return win;
    }
    public void setLed(String led) {
        this.led = led;
    }

    public String getLed() {
        return led;
    }
    public void setTitle(String title) {
        this.title = title;
    }

    public String getTitle() {
        return title;
    }
    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserId() {
        return userId;
    }
    public void setLoginIp(String loginIp) {
        this.loginIp = loginIp;
    }

    public String getLoginIp() {
        return loginIp;
    }
    public void setNownum(String nownum) {
        this.nownum = nownum;
    }

    public String getNownum() {
        return nownum;
    }
    public void setCalltime(Date calltime) {
        this.calltime = calltime;
    }

    public Date getCalltime() {
        return calltime;
    }
    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("win", getWin())
            .append("led", getLed())
            .append("title", getTitle())
            .append("userId", getUserId())
            .append("loginIp", getLoginIp())
            .append("nownum", getNownum())
            .append("calltime", getCalltime())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
